import request from '@/utils/request'

export default {
  //查询
  getHospSetPageList(pageNum,pageSize,searchObj){
    return request({
      url: `/admin/hosp/hospitalSet/findPage/${pageNum}/${pageSize}`,
      method: 'post',
      params: searchObj
    })
  },

  //添加

  //修改

  //删除
  deleteById(id){
    return request({
      url: `/admin/hosp/hospitalSet/deleteHosp/${id}`,
      method: 'get'
    })
  },
  //批量删除
  deleteByIds(ids){
    return request({
      url: `/admin/hosp/hospitalSet/deleteHospIds`,
      method: 'delete',
      data:ids
    })
  },
}

